import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes:Array<RouteRecordRaw>=[
    {
        path:"/",
        component:()=>import("../components/HelloWorld.vue")
    },
    {
        path:"/Ulogin",
        component:()=>import("../components/Ulogin.vue")
    },
    {
        path:"/ShowInvest",
        component:()=>import("../components/ShowInvest.vue")
    },
    {
        path:"/InvestContext",
        component:()=>import("../components/InvestContext.vue")
    },
]
const router=createRouter({
    history:createWebHistory(),
    routes
})

export default router;//导出router



